home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / t_nc_211.zip / TC.EXT < prev    next >
Text File  |  1997-02-17  |  4KB  |  121 lines

  1. %
  2. % Extension edit file, max 100 entries
  3. %
  4. % This file is almost compatible with the Norton Commandor 3.0.
  5. % If you have NC.EXT, simply copy it into TERMINAT.EXT and change
  6. % all !.! -=> !F  and  ! to !D
  7. % Blank lines and lines starting with % will be ignored.
  8. %
  9. % The idea of this system if that you should not waste time figuring out
  10. % what program to call to view or use the files with a certain extension.
  11. % Take as an example TERMINAT.DOC - a file ending in .DOC is almost always
  12. % a file that you only want to view, not edit. Therefore you would normally
  13. % call the viewer, called let's say LIST.COM, by pressing V inside the
  14. % Filemanager. But if you have an extension in this file called DOC:
  15. % that program will be called when pressing RETURN when that file is
  16. % highlighted. An example would be the line
  17. %
  18. % DOC:  LIST !F !M
  19. %
  20. % To use the new internal file viewer, use the following statement.
  21. %
  22. % DOC:  @LIST !F
  23. %
  24. % and press RETURN on a .DOC file. LIST will be called up with the
  25. % complete filename of the current file. The !F will be replaced with the
  26. % filename of the current file. The !M tells Terminate to swap out memory
  27. % first, if the program needs a lot of memory. When using the !W parameter,
  28. % Terminate will wait for a key after the command has been executed.
  29. %
  30. % Wildcards in extension: You can use a '?' anywhere in the extensions.
  31. % I.e.: ZI?  will process all files called: ZIP,ZI1,ZIA,ZIX.
  32. %
  33. %
  34. % Syntax:
  35. %
  36. %
  37. %    ┌─ Colon must be in position 4 of line
  38. %    │
  39. % txt:  edit !F
  40. %  ^    └──┬──┘
  41. %  │       └── DOS command
  42. %  └─ File extension
  43. %
  44. %   !M  Swap memory first
  45. %   !W  Wait for a <return> after executing
  46. %   !F  Name at current position, only in filemanager
  47. %   !F2 Name at current position, in the other window
  48. %   !D  Directory path to current directory, without backslash
  49. %   !D2 Directory path to directory in the other window without backslash
  50. %   !E  Call program without extra COMMAND.COM (COMSPEC), if you use this
  51. %       command you must give the full path and extension.
  52. %   !CD Change to the directory where the program is located before
  53. %       calling the program.
  54.  
  55. % Programs that can be executed directly. NEVER launch resident programs
  56. % from inside other programs like Terminate (TSR's)!
  57.  
  58. BAT:    !F !M
  59. EXE:    !F !M
  60. COM:    !F !M
  61.  
  62. % Archives, remember to put a !M in the end, if you are low on memory
  63.  
  64. ARC:    pkunpak -v !F |More !W
  65. AR?:    arj v !F |More !W
  66. LZ?:    lha !F |More !W
  67. LH?:    lha !F |More !W
  68. RA?:    rar !F !M
  69. ZI?:    pkunzip -v !F |More !W
  70. ZO?:    zoo l !F |More !W
  71. SQ?:    sqz l !F |More !W
  72. DW?:    dwc l !F |More !W
  73.  
  74. % Music and pictures
  75.  
  76. GL :    C:\GRASP\GRASPRT.EXE !F !M
  77. FLI:    C:\ANIM\AAPLAY.EXE !F !M
  78. GIF:    UTILS\T-GIF !F
  79. BAK:    DEL !F
  80. MOD:    c:\wow\wowii.exe !F /SB /I:7 /B:16384 !M
  81. VOC:    c:\voc\vocplay.exe !F !M
  82. AP?:    fax\faxshow.exe !F !M!E
  83. QFX:    viewfax !F!M
  84.  
  85. % Programming
  86.  
  87. PAS:    c:\bp8\bp.exe !F !M
  88. H  :    q !F !M
  89. C  :    q !F !M
  90.  
  91. % Mail files
  92.  
  93. PK?:    utils\pktview.exe !F !M!E
  94. ?UT:    utils\pktview.exe !F !M!E
  95. PWD:    utils\pktview.exe !F !M!E
  96. QQQ:    utils\pktview.exe !F !M!E
  97. ?LO:    q !F!M
  98. MO?:    shez !F !M
  99. TU?:    shez !F !M
  100. WE?:    shez !F !M
  101. TH?:    shez !F !M
  102. FR?:    shez !F !M
  103. SA?:    shez !F !M
  104. SU?:    shez !F !M
  105. QWK:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  106. 0??:    C:\ROBOMAIL\ROBOMAIL.EXE !M !CD !E
  107.  
  108. % Textfiles and other extensions
  109.  
  110. BBS:    @LIST !D !W
  111. TXT:    q !F !M
  112. ASC:    @LIST !F !W
  113. ANS:    type !F !W!M
  114. GBS:    type !F !W!M
  115. CTL:    q !F !M
  116. SND:    q !F !M
  117. LOG:    @LIST !F !M
  118. CFG:    q !F !M
  119. DOC:    @LIST !F !M
  120.  
  121.